package com.chixing.day05_oop;

public class CreditAccount extends Account {
    private float maxOverdraw;      // 最高透支额度
    private float alreadyOverdraw; // 已经透支的额度

    public CreditAccount(){}

    //new CreditAccount(...)
    public CreditAccount(long accNo, String accName, String accPassword, long accTelNo, float accBalance, int accType, float maxOverdraw, float alreadyOverdraw) {
        super(accNo, accName, accPassword, accTelNo, accBalance, accType);
        this.maxOverdraw = maxOverdraw;
        this.alreadyOverdraw = alreadyOverdraw;
    }

    // 信用卡还款
    public void rebackOverdraw(){

    }
}
